<!--

/*
* Copyright (C) 2005-2013 University of Sydney
*
* Licensed under the GNU License, Version 3.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.gnu.org/licenses/gpl-3.0.txt
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/

/**
* brief description of file
*
* @author      Tom Murtagh
* @author      Kim Jackson
* @author      Ian Johnson   <ian.johnson@sydney.edu.au>
* @author      Stephen White   <stephen.white@sydney.edu.au>
* @author      Artem Osmakov   <artem.osmakov@sydney.edu.au>
* @copyright   (C) 2005-2013 University of Sydney
* @link        http://Sydney.edu.au/Heurist
* @version     3.1.0
* @license     http://www.gnu.org/licenses/gpl-3.0.txt GNU License 3.0
* @package     Heurist academic knowledge management system
* @subpackage  !!!subpackagename for file such as Administration, Search, Edit, Application, Library
*/

-->
<!--

/**
 * filename, brief description, date of creation, by whom
 * @copyright (C) 2005-2010 University of Sydney Digital Innovation Unit.
 * @link: http://HeuristScholar.org
 * @license http://www.gnu.org/licenses/gpl-3.0.txt
 * @package Heurist academic knowledge management system
 * @todo
 **/

-->
<html>
 <head>
  <script>top.HEURIST = {};</script>
  <script src="../../common/php/loadCommonInfo.php"></script>
  <script src="../../common/php/loadUserInfo.php"></script>
  <script>
	function load() {
		var matches, id = "", g = "", s;
		matches = window.location.search.match(/id=([0-9]+)/);
		if (matches && matches[1]) {
			id = matches[1];
		}
		matches = window.location.search.match(/g=([0-9]+)/);
		if (matches && matches[1]) {
			g = matches[1];
		}
		s = "../../records/add/addRecord.php" + "?wg_id=" +	g + "&related=" + id;
		document.getElementById("f").src = s;
	}
  </script>
 </head>
 <body onload="load();">
  <iframe id=f frameborder=0 style="border: none; width: 600px; height: 500px;"></iframe>
 </body>
</html>
